package cn.rkylin.oms.push.entity.vip;

public class UpdateInventoryRequest {

    private String shopId;

    /**
     * 商品条形码
     */
    private String barcode;

    /**
     * 库存数量，全量更新时不能为负数，增量更新可以传负数，负数代表减库存
     */
    private int quantity;

    /**
     * 批次号，同一个供应商id需保证batch_no不重复，batch_no长度不超过40
     */
    private String batch_no;

    /**
     * 同步方式，0：全量，1：增量，默认0
     */
    private int sync_mode;


    public String getBarcode() {
        return barcode;
    }

    public void setBarcode(String barcode) {
        this.barcode = barcode;
    }

    public String getBatch_no() {
        return batch_no;
    }

    public void setBatch_no(String batch_no) {
        this.batch_no = batch_no;
    }

    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public int getSync_mode() {
        return sync_mode;
    }

    public void setSync_mode(int sync_mode) {
        this.sync_mode = sync_mode;
    }
}
